﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddTechnicalTasks.aspx.cs"
    Inherits="Actuals.AddTechnicalTasks" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <base target="_self" />
    <title>Technical Tasks</title>
    <link href="~/Actuals.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <div id="divAddTechnicalTasks" runat="server">
            <asp:Label ID="lblMsg" runat="server" CssClass="message">
            </asp:Label>
            <table >
            <tr>
            <td>
            <asp:Label ID ="lblUserStory" runat ="server" CssClass="label">UserStory</asp:Label>
            </td>
            <td align="left"><asp:DropDownList Width="75%" ID= "ddlUserStory" runat="server" CssClass="textfield" Enabled="false"></asp:DropDownList> </td>
            </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblUserStoryDescription" runat="server" CssClass="label">TechnicalTaskDescription</asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtUserStoryDescription" Rows="10" Columns="50" TextMode="MultiLine"
                            runat="server" CssClass="textfield">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblSprintId" runat="server" CssClass="label">Sprint</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlSprintId" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblStatus" runat="server" CssClass="label">Status</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlStatus" runat="server" CssClass="textfield">
                            <asp:ListItem Value="T">Todo</asp:ListItem>
                            <asp:ListItem Value="I">InProg</asp:ListItem>
                            <asp:ListItem Value="C">Completed</asp:ListItem>
                            <asp:ListItem Value="R">Reopen</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" CssClass="label"> Estimation </asp:Label>
                    </td>
                    <td align ="left" >
                        <asp:TextBox ID="txtEstimatedTime" CssClass="textfield" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblRemainingTime" runat="server" CssClass="label"> Remaining Time </asp:Label>
                    </td>
                    <td align = "left">
                        <asp:TextBox ID="txtRemainingTime" Enabled="false" CssClass="textfield" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblTotalElapsedTime" runat="server" CssClass="label"> Total Elapsed Time </asp:Label>
                    </td>
                    <td align ="left">
                        <asp:TextBox ID="txtTotalElapsedTime" CssClass="textfield" Enabled="false" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblTimeSpent" runat="server" CssClass="label"> Time Spent </asp:Label>
                    </td>
                    <td align ="left">
                        <asp:TextBox ID="txtTimeSpent" CssClass="textfield" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblTaskCompletedBy" runat="server" CssClass="label">TaskCompletedBy</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlTaskCompletedBy" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCodeRevStatus" runat="server" CssClass="label">CodeReviewStatus</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlCodeRevStatus" runat="server" CssClass="textfield">
                            <asp:ListItem Value="T">Todo</asp:ListItem>
                            <asp:ListItem Value="I">InProg</asp:ListItem>
                            <asp:ListItem Value="C">Completed</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCodeRevDoneBy" runat="server" CssClass="label">CodeReviewDoneBy</asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlCodeRevDoneBy" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnSave" Text="Save" runat="server" OnClick="btnSave_Click" />
                        <input type="button" value="Close" onclick="window.close();" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:HiddenField ID="hidTechnicalTaskId" runat="server" />
    </center>
    </form>
</body>
</html>
